package com.qianli.cashmama.trade.domain.model;

import com.qianli.cashmama.trade.common.enums.TimeoutTypeEnum;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/7/24
 * Time: 下午2:06
 */
public class TimeoutEvent {

    private long id;
    /**
     * 类型
     */
    private com.qianli.cashmama.trade.common.enums.TimeoutTypeEnum type;
    /**
     * 触发时间
     */
    private Date triggerTime;
    /**
     * 携带的信息
     */
    private String value;

    public long getId() {
        return id;
    }

    public TimeoutEvent setId(long id) {
        this.id = id;
        return this;
    }

    public com.qianli.cashmama.trade.common.enums.TimeoutTypeEnum getType() {
        return type;
    }

    public TimeoutEvent setType(TimeoutTypeEnum type) {
        this.type = type;
        return this;
    }

    public Date getTriggerTime() {
        return triggerTime;
    }

    public TimeoutEvent setTriggerTime(Date triggerTime) {
        this.triggerTime = triggerTime;
        return this;
    }

    public String getValue() {
        return value;
    }

    public TimeoutEvent setValue(String value) {
        this.value = value;
        return this;
    }
}
